import { createPageLoadingGuard } from './page-loading-guard' // 创建全局页面加载
import { createPageTitleGuard } from './page-title-guard' // 创建页面标题
import { createPermissionGuard } from './permission-guard' // 创建全局权限
import { createTabGuard } from './tab-guard' // 创建全局tab

export function setupRouterGuards(router) {
  createPageLoadingGuard(router)
  createPermissionGuard(router)
  createPageTitleGuard(router)
  createTabGuard(router)
}
